$(function () {
    //款项类型
    $("#form_jkd").find("[id='jkd_zffs_id']").sjzdcombobox("pjlx");
    var id = $("#zgwzjhId").val();
    $("#jkd_cght_id").cghtcombogrid({wzjhId: id,
        onSelect: function (index, row) {
            $("#jkd_gys_jc").val(row.hzf_jc);
            $("#jkd_gys_id").val(row.hzf_id);
            $("#jkd_jkgs_jc").val(row.wlfgs_jc);
            $("#jkd_jkgs_id").val(row.wlfgs_id);
        },
        onLoadSuccess: function (row) {
            var g = $('#jkd_cght_id').combogrid('grid');
            g.datagrid('selectRow', 0);
        }
    },'');
});
